package com.ruoyi.common.security.feign;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.HandlerInterceptor;

/**
 * @program: ruoyi
 * @description: 配置类算是yml文件和拦截器类中间的过渡
 * @author: yanghua
 * @create: 2020-09-08 16:25
 **/
@Configuration
public class MyMvcConfig  {
    @Bean
    public HandlerInterceptor testInterceptor()
    {
        return new TestInterceptor();

    }
}
